<?php /* Smarty version Smarty-3.1.6, created on 2018-03-30 14:33:39
         compiled from "/var/www/html/sharing/Home/View/Index/head.html" */ ?>
<?php /*%%SmartyHeaderCode:16364278015abdda4332c412-88669463%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5a631da712422f903fbe97ebeac4f74847fdf26b' => 
    array (
      0 => '/var/www/html/sharing/Home/View/Index/head.html',
      1 => 1466663510,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16364278015abdda4332c412-88669463',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5abdda434c83e',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5abdda434c83e')) {function content_5abdda434c83e($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <meta http-equiv=content-type content="text/html; charset=utf-8"/>
    <link rel="stylesheet" href="<?php echo @CSS_URL;?>
head.css"/>
</head>
<body>
<div class="head">
    <div class="headlogo">
        <a href="<?php echo @__CONTROLLER__;?>
/index" target="_top">
            <img src="<?php echo @IMG_URL;?>
/headlogo.png"/>
        </a>
    </div>
    <form action="<?php echo @__SELF__;?>
" method="post" target="_top">
        <!--表单的target是在action后面写没错-->
        <div class="form-text">
            <input class="searchtext" type="text" name="word"/>
            <input type="hidden" name="ok" value="1"/>
        </div>
        <div class="form-sub">
            <!--value=0相当于空，所以会出问题的。-->
            <input class="search" type="submit" value=""
                   style="background: url('<?php echo @IMG_URL;?>
/ic_search.png');"
                   onmouseover="this.style.background='url(<?php echo @IMG_URL;?>
/ic_search2.png )'"
                   onmouseout="this.style.background='url(<?php echo @IMG_URL;?>
/ic_search.png )'"/>
        </div>
    </form>
    <div class="find">
        <a href="<?php echo @__CONTROLLER__;?>
/index2" target="_top">
            <div class="find_ico">
                <img src="<?php echo @IMG_URL;?>
/ic_find.png"
                     onmouseover="this.src='<?php echo @IMG_URL;?>
/ic_find2.png' "
                     onmouseout="this.src='<?php echo @IMG_URL;?>
/ic_find.png' "/>
            </div>
        </a>
    </div>
    <div class="index">
        <a href="<?php echo @__CONTROLLER__;?>
/index" target="_top">
            <div class="index_ico">
                <img src="<?php echo @IMG_URL;?>
/ic_index.png"
                     onmouseover="this.src='<?php echo @IMG_URL;?>
/ic_index2.png' "
                     onmouseout="this.src='<?php echo @IMG_URL;?>
/ic_index.png' "/>
            </div>
        </a>
    </div>
    <div class="username">
        <a href="<?php echo @__MODULE__;?>
/home/home" target=_top>
            <div class="user_ico">
                <img src="<?php echo @IMG_URL;?>
/ic_self.png"
                     onmouseover="this.src='<?php echo @IMG_URL;?>
/ic_self2.png' "
                     onmouseout="this.src='<?php echo @IMG_URL;?>
/ic_self.png' "/>
            </div>
            <div class="head_user">
                <?php echo $_SESSION['username'];?>

            </div>
        </a>
    </div>
    <div class="loginout">
        <a onclick="if (confirm('确定要退出吗？')) return true; else return false;"
           href="<?php echo @__MODULE__;?>
/User/logout" target=_top>
            <div class="head_out">
                注销
            </div>
        </a>
    </div>
</div>
</body>
</html><?php }} ?>